<?php
!defined('INLOT') && die('Access Denied');

!defined('ROOT') && define('ROOT', substr(dirname(__FILE__), 0, -4));
!defined('INC') && define('INC', ROOT . DIRECTORY_SEPARATOR . 'inc');
!defined('APP') && define('APP', substr($_SERVER['PHP_SELF'], 0, strripos($_SERVER['PHP_SELF'], '/')));

require_once(ROOT.'/config.php');

$db_dsn = "sqlite:".ROOT. DIRECTORY_SEPARATOR . $config['dbfile'];